package cn.edu.usst.cs.goldfish.booking.meetingroom.mybatis;

import cn.edu.usst.cs.goldfish.booking.meetingroom.model.MeetingRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Jerry
 * @since 2025-06-28
 */
public interface MeetingRoomMapper extends BaseMapper<MeetingRoom> {
    @Select("SELECT id FROM meeting_room")
    List<Long> selectAllRoomIds();

    @Select("SELECT * FROM meeting_room")
    List<MeetingRoom> selectAllRooms();

    MeetingRoom selectById(Long id);
}
